#ifndef CREATEFILE_H
#define CREATEFILE_H

#include <QDialog>

namespace Ui {
class CreateFile;
}

class CreateFile : public QDialog
{
    Q_OBJECT
    
public:
    explicit CreateFile(const QString& path, QWidget *parent = 0);
    virtual ~CreateFile();
    QString openAfter();
private slots:
    void onTextChanged(const QString &);
    void onAccepted();
private:
    Ui::CreateFile *ui;
    QString _path;
};

#endif // CREATEFILE_H
